<div class="personnelIMbody" ng-controller="personnelILcontroller">
    <div class="personnelIM">
        <div class="personnelIMtitle">
            <div>
                {{"shaixuantiaojian"|T}}</div>
            <div class="plIMcztimefw">
                <select class="" ng-model="optionCheckflag" ng-change="optionCheck(optionCheckflag)"
                    ng-init="optionCheckflag='1'">
                    <option label={{"NAME"|T}} value="1" selected="selected">姓名</option>
                    <option label={{"Email"|T}} value="2">{{"youxiang"|T}}</option>
                    <option label={{"phone"|T}} value="3">{{"phone"|T}}</option>
                    <option  value="4">离职日期</option>
                </select>
            </div>
            <input type="text" placeholder="{{placeholder}}" class="plIMsucxnr" ng-model="playparams.searchText"
                ng-if="optionCheckflag == 1 || optionCheckflag == 2 || optionCheckflag == 3 || optionCheckflag ==10  || !optionCheckflag"
                ng-keyup="myKeyup($event)">
            <input id="startTime" class="plIMsucxtime" placeholder={{"kaishiriqi"|T}} onclick="wdatepicker({highLineWeekDay:true})"
                ng-focus="GetTime()" onfocus="var endTime=$dp.$('endTime');wdatepicker({onpicked:function(){endTime.focus();},maxDate:'#F{$dp.$D(\'endTime\')}'})"
                ng-if="optionCheckflag == 4" /><span ng-if="optionCheckflag == 4">-</span><input
                    ng-if="optionCheckflag == 4" class="plIMsucxtime" id="endTime" placeholder={{"jieshuriqi"|T}}
                    value="{{endTime}}" onclick="wdatepicker()" ng-focus="GetTime()" onfocus="wdatepicker({minDate:'#F{$dp.$D(\'startTime\')}'})" />
            <div class="plIMqrsx" ng-click="AddSelect()">
                <i class="iconfont">&#xe621;</i>{{"querenshaixuan"|T}}</div>
            <div class="personnelIMtitlerzwf">
            </div>
            <div class="personnelIMtitler">
                <div class="plIMdelect" btncon="btnDel" btn-obj="btnlist">
                    <i class="iconfont">&#xe606;</i>{{"Delete"|T}}</div>
                <div class="plIMdelect" btncon="btnFuz" ng-click="fuzhi()">
                    <i class="iconfont">&#xe73a;</i>{{"huanyuan"|T}}</div>
            </div>
        </div>
        <div class="personnelIMmian">
            
            <div class="personnelIMmianc" ng-app="peosonnelrylb">
                <div class="personnelIMmianlb">
                    <ul class="personnelIMul">
                        <li class="personnelIMli">
                            <div class="personnelIMlinr">
                                <div class="personnelIMcheckbox">
                                    <input type="checkbox" ng-click="checkAll()" id="checkall">
                                    <!-- 添加selected为选中样式
            <div class="liebiaocheck-box"><span class="iconfont">&#xe67a;</span></div>
            -->
                                </div>
                                <div class="personnelIMname">
                                    姓名</div>
                                <div class="personnelIMxtjs" style="width: 260px;">
                                    离职日期</div>
                                <div class="personnelIMxtzt " style="width: 215px;">
                                    联系电话</div>
                                <div class="personnelIMipone" style="width: 210px;">
                                    邮箱</div>
                            </div>
                        </li>
                        <loading isloading="loadingflag" ng-if="loadingflag"></loading>
                        <!-- <div cg-busy="{promise:promise,templateUrl:'/framework/angular-busy/custom-template.html',message:'loading',backdrop:true,delay:10,minDuration:10}">     -->
                        <ul ng-class="{'personnelIMulmain':names.length >= 10 }">
                            <li class="personnelIMli" ng-repeat="userinfo in names" >
                                <div class="personnelIMlinr">
                                    <div class="personnelIMcheckbox">
                                        <input type="checkbox" checklist-model="user.userinfo" checklist-value="userinfo" >
                                        <!--  添加selected为选中样式
		<div class="liebiaocheck-box "><span class="iconfont">&#xe67a;</span></div>
        -->
                                        <div class="personnelIMxiugai" >
                                            <i class="iconfont" title="编辑" ng-click="useredit(userinfo)">&#xe633;</i></div>
                                    </div>
                                    <div class="personnelIMname">
                                        <div class="personnelIMnamel">
                                            <div>
                                                <img src="/images/avatar.png" ng-src="{{userinfo.dimissionUserAvatarUrl}}" onerror="javascript:this.src='/images/avatar.png'"
                                                    width="36" height="36" /></div>
                                        </div>
                                        <div class="personnelIMnamer">
                                            <div class="personnelIMname_name" style="line-height: 33px;">
                                                {{userinfo.dimissionUserName}}（{{userinfo.dimissionUserAccount}}）</div>
                                        </div>
                                    </div>
                                    <div class="personnelIMxtjs" style="width: 260px;">
                                        <i class="iconfont">&#xe632;</i>{{userinfo.dimissionDate}}</div>
                                    <div class="personnelIMipone" ng-if="userinfo.dimissionUserPhone==null || userinfo.dimissionUserPhone==''" style="width: 215px;">
                                        暂无
                                    </div>
                                    <div class="personnelIMipone" ng-if="userinfo.dimissionUserPhone!=null && userinfo.dimissionUserPhone!=''"
                                        ng-bind="userinfo.dimissionUserPhone" style="width: 215px;">
                                    </div>
                                    <div class="personnelIMbz" style="width: 240px;">
                                            {{userinfo.dimissionUserEmail==''?'暂无':userinfo.dimissionUserEmail}}
                                    </div>
                                </div>
                            </li>
                            <center style=" padding: 40px 0px;" ng-if="names.length<=0">
                                <img src="/images/null/null.png">
                                <div style="font-size:30px;color:#a3a3a3;" ng-bind="'TrainListNull' | T" class="ng-binding">暂无任何基本信息</div>     
                            </center>
                        </ul>
                        <!--</div>-->
                    </ul>
                    <tm-pagination conf="paginationConf"></tm-pagination>

                </div>

            </div>
        </div>
    </div>

    <!--离职人员信息-->
    <v-modal class="vModal--default v-modal-newlyadded" ng-if="showLeaveInfo">
 <div class="newlyadded"   >
 			<div class="newlyadded_main"   >
 				<div class="newlyaddedtitle">编辑人员<div class="close" ng-click="closeuser()"><span>+</span></div></div>
	 			<div class="newlyaddedmain">
	 				<div class="newlyaddedcolumn">
	 					<div class="newlyaddejgrjs">                        
	 						<div class="newlyaddejgrjsimg"><img ng-src="{{userInfoLeave.user_Img}}" src="/images/avatar.png" onerror="javascript:this.src='/images/avatar.png'" /></div>
	 						<div class="newlyaddejgrjsinputgroup"><input type="text"  placeholder="登录账户" class="form-control"  ng-model="userInfoLeave.user_Account" /><input type="password"  placeholder="登录密码" class="form-control" ng-trim="true" value="111111" disabled="disabled" style="cursor: not-allowed;"/></div>

	 					</div>
	 				</div>
	 				<div class="newlyaddedcolumn">
	 					<ul class="newlyaddejsdjs">
	 						<li><div class="newlyaddedsxl"><label for=""><i class="iconfont">&#xe618;</i>人员编号</label></div><div class="newlyaddedsxr"><input type="text" ng-model="userInfoLeave.user_No" placeholder="请输入人员编号" /></div></li>
							<li><div class="newlyaddedsxl"><label for=""><i class="iconfont">&#xe664;</i>人员名称</label></div><div class="newlyaddedsxr"><input type="text" ng-model="userInfoLeave.user_Name" placeholder="请输入人员名称"/></div></li>
							<li><div class="newlyaddedsxl"><label for=""><i class="iconfont">&#xe624;</i>联系邮箱</label></div><div class="newlyaddedsxr"><input  type="text" ng-model="userInfoLeave.email" placeholder="请输入联系邮箱"/></div></li>
							<li><div class="newlyaddedsxl"><label for=""><i class="iconfont">&#xe672;</i>手机号码</label></div><div class="newlyaddedsxr"><input type="text" ng-model="userInfoLeave.phone" placeholder="请输入手机号码"/></div></li>
                            <li><div class="newlyaddedsxl"><label for=""><i class="iconfont">&#xe672;</i>身份证号码</label></div><div class="newlyaddedsxr"><input type="text" ng-model="userInfoLeave.identifyCard" placeholder="请输入身份证号码"/></div></li>

	 					</ul>
	 				</div>
	 				<div class="newlyaddedcolumn"  ng-if="false">
	 					<div class="newlyaddedkysd">
	 						
	 					<div class="newlyaddedsxl">
	 						<label for=""><i class="iconfont">&#xe626;</i>可用时段</label>
	 					</div>
	 					<div class="newlyaddedsxr">
	 						<div class="newlyaddedzhkyrq">
		 						<div >设置账号可用日期<i class="caret"></i></div>
		 						<div class="newlyaddedzhkyrqtime">
                                <input type="text" id="startDate" class="form-control"  placeholder="开始日期"  onClick="wdatepicker({highLineWeekDay:true})" ng-model="userInfoLeave.startDate" ng-focus="GetDate()" onFocus="var endDate=$dp.$('endDate');wdatepicker({onpicked:function(){endDate.focus();},maxDate:'#F{$dp.$D(\'endDate\')}'})"/>-
                                <input type="text" class="form-control"  id="endDate" placeholder="截止日期" ng-model="userInfoLeave.endDate" value="{{endDate}}" onClick="wdatepicker()" ng-focus="GetDate()" onFocus="wdatepicker({minDate:'#F{$dp.$D(\'startDate\')}'})"/>

                                </div>
	 						</div>
	 						<div class="newlyaddedzhkysd">
	 							<div >设置账号可用时段<i class="caret"></i></div>
	 							<div class="newlyaddedzhkysdtime">

                                <input type="text" id="Text1" class="form-control"  placeholder="开始时段"  onClick="wdatepicker({dateFmt:'H:mm:ss',minDate:'0:00:00',maxDate:'23:59:59'})" ng-model="userInfoLeave.startTime" ng-focus="GetTime()" onFocus="var endTime=$dp.$('endTime');wdatepicker({dateFmt:'H:mm:ss',onpicked:function(){endTime.focus();},maxDate:'#F{$dp.$D(\'endTime\')}'})"/>-

                                <input type="text" class="form-control" id="Text2" placeholder="截止时段" ng-model="userInfoLeave.endTime" value="{{endTime}}" onClick="wdatepicker({dateFmt:'H:mm:ss',minDate:'0:00:00',maxDate:'23:59:59'})" ng-focus="GetTime()" onFocus="wdatepicker({dateFmt:'H:mm:ss',minDate:'#F{$dp.$D(\'startTime\')}'})"/>

                                </div>
	 						</div>
	 					</div>
	 					</div>
	 				</div>
	 			
	 			</div>
	 			</div>
                
	 			<div class="newlyaddedfooter">
	 				<form class="newlyaddedfooterform">                        	 					
                        <div class="btn new_curriculum_bottom_quxiao" ng-if="isBtnLoading">
                            <btnloading isbtnload="isBtnLoading" style="float:left;padding-right: 6px;margin-top: 2px;"></btnloading>
                        </div>                   
                        <button class="btn queding" ng-click="saveUser()">确定</button>     
                        <button class="btn quxiao" ng-click="closeuser()">取消</button>
	 				</form>
	 			</div>
 			
		</div>
 <!--</div>-->
 </v-modal>


    </div>


